package com.theatre.userservice.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.util.Date;

@Data
@TableName("publisher")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Publisher {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    @TableField("name")
    private String name;

    @TableField("phone")
    private String phone;

    @TableField("email")
    private String email;

    @TableField("license_file")
    private String licenseFile;

    @TableField("status")
    private Integer status;

    @TableField("remark")
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
